Hi Ray,
I think I see what is going on. I re-plotted your data and uploaded the Excel Sheet. Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic. Everything works fine for Albert (and me) because we weren't doing any Arcs. Give me some time to come up with a fix.
Looks like it wasn't noise :}
Regards
TK
Group: DynoMotion |
Message: 4068 |
From: himykabibble |
Date: 2/23/2012 |
Subject: Re: v429z Problem |
Tom,
Well, how many people really NEED to do arcs anyway.... :-)
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray,
> Â
> I think I see what is going on. I re-plotted your data and uploaded the Excel Sheet.  Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic. Everything works fine for Albert (and me) because we weren't doing any Arcs. Give me some time to come up with a fix.
> Â
> Looks like it wasn't noise :}
> Â
> Regards
> TK
>
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, February 23, 2012 12:05 PM
> Subject: [DynoMotion] Re: v429z Problem
>
>
> Â
> BTW - I can duplicate this with two different KFlops, and two different PCs....
>
> --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> >
> > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position.
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > >
> > > Tom,
> > >
> > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident.
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > >
> > > > Tom,
> > > >
> > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate, constant speed
> moves, always in exactly the same place, and they ARE reflected in the DROs.
> > > >
> > > > I've posted the G-code I'm using in RayLs Files.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 4070 |
From: himykabibble |
Date: 2/23/2012 |
Subject: Re: v429z Problem |
Tom,
Does this also explain the uncommanded moves I've seen? That one cost me a good test indicator this AM, when I did a "G0X0Y0" and the KFlop decided to also jam the quill (Z) into the table at full rapid speed....
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Tom,
>
> Well, how many people really NEED to do arcs anyway.... :-)
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray,
> > Â
> > I think I see what is going on. I re-plotted your data and uploaded the Excel Sheet.  Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic. Everything works fine for Albert (and me) because we weren't doing any Arcs. Give me some time to come up with a fix.
> > Â
> > Looks like it wasn't noise :}
> > Â
> > Regards
> > TK
> >
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, February 23, 2012 12:05 PM
> > Subject: [DynoMotion] Re: v429z Problem
> >
> >
> > Â
> > BTW - I can duplicate this with two different KFlops, and two different PCs....
> >
> > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > >
> > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position.
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > >
> > > > Tom,
> > > >
> > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > > >
> > > > > Tom,
> > > > >
> > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate, constant speed
> > moves, always in exactly the same place, and they ARE reflected in the DROs.
> > > > >
> > > > > I've posted the G-code I'm using in RayLs Files.
> > > > >
> > > > > Regards,
> > > > > Ray L.
> > > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 4072 |
From: Tom Kerekes |
Date: 2/23/2012 |
Subject: Re: v429z Problem |
I don't think so.
TK
Group: DynoMotion |
Message: 4084 |
From: Tom Kerekes |
Date: 2/25/2012 |
Subject: Re: v429z Problem |
Ray,
Please try this patch to fix GCode Arcs for V4.29z. Copy to the C:\Kmotion429z\Kmotion\Release directory
Regards
TK
Group: DynoMotion |
Message: 4091 |
From: himykabibble |
Date: 2/25/2012 |
Subject: Re: v429z Problem |
Tom,
I was only able to run a quick test, but it appears to be working correctly now. I'll try to run some real parts tomorrow, once I get my machine back together (finally installing limit switches on X, Y and A axes).
Can I get the modified source, as I need to make my tool length comp mods before I can run any of my existing G-code.
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Ray,
> Â
> Please try this patch to fix GCode Arcs for V4.29z. Copy to the C:\Kmotion429z\Kmotion\Release directory
> Â
> http://dynomotion.com/Software/Patch/FixTP429Arcs/GCodeInterpreter.dll
> Â
> Regards
> TK
> Â
>
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, February 23, 2012 2:25 PM
> Subject: [DynoMotion] Re: v429z Problem
>
>
> Â
> Tom,
>
> Well, how many people really NEED to do arcs anyway.... :-)
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray,
> > ÃÂ
> > I think I see what is going on.ÃÂ I re-plotted your data and uploaded the Excel Sheet.ÃÂ ÃÂ Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic.ÃÂ Everything works fine for Albert (and me) because we weren't doing any Arcs.ÃÂ Give me some time to come up with a fix.
> > ÃÂ
> > Looks like it wasn't noise :}
> > ÃÂ
> > Regards
> > TK
> >
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, February 23, 2012 12:05 PM
> > Subject: [DynoMotion] Re: v429z Problem
> >
> >
> > ÃÂ
> > BTW - I can duplicate this with two different KFlops, and two different PCs....
> >
> > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > >
> > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position.
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > >
> > > > Tom,
> > > >
> > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > > >
> > > > > Tom,
> > > > >
> > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate, constant speed
> > moves, always in exactly the same place, and they ARE reflected in the DROs.
> > > > >
> > > > > I've posted the G-code I'm using in RayLs Files.
> > > > >
> > > > > Regards,
> > > > > Ray L.
> > > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 4092 |
From: Tom Kerekes |
Date: 2/25/2012 |
Subject: Re: v429z Problem |
Hi Ray
Here are the sources changed from V4.29z:
Regards
TK
Group: DynoMotion |
Message: 4102 |
From: himykabibble |
Date: 2/26/2012 |
Subject: Re: v429z Problem |
Tom,
Today I ran a batch of the same parts that failed a few days ago, and that problem seems to be fixed. I was able to run one batch of parts that came out perfect.
However, while setting up, I did have a different problem that seems might be related - When I first started up my app, and started doing the setup, I found the interpreter was hanging if I did any MDI command that involved axis motion. I have on-screen indicators that show whether the interpreter is running or not, and it would stay on after any MDI that required axis motion, and the motion would not occur. Any non-move commands, like M3, M7, G54, etc. worked fine. I tried KMotionCNC and got the same behavior. I went back to my app, loaded my program, and started it, and it executed to the first move, then hung. I stopped it, did a rewind, and this time single-stepped through the first few moves, and all seemed fine. So I started it running from the start, and the problem did not re-occur. I'll see if it repeats tomorrow.
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray
> Â
> Here are the sources changed from V4.29z:
> Â
> http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
> Â
> http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
> Â
> Regards
> TK
>
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Saturday, February 25, 2012 2:35 PM
> Subject: [DynoMotion] Re: v429z Problem
>
>
> Â
> Tom,
>
> I was only able to run a quick test, but it appears to be working correctly now. I'll try to run some real parts tomorrow, once I get my machine back together (finally installing limit switches on X, Y and A axes).
>
> Can I get the modified source, as I need to make my tool length comp mods before I can run any of my existing G-code.
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Ray,
> > ÃÂ
> > Please try this patch to fix GCode Arcs for V4.29z.ÃÂ Copy to the C:\Kmotion429z\Kmotion\Release directory
> > ÃÂ
> > http://dynomotion.com/Software/Patch/FixTP429Arcs/GCodeInterpreter.dll
> > ÃÂ
> > Regards
> > TK
> > ÃÂ
> >
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, February 23, 2012 2:25 PM
> > Subject: [DynoMotion] Re: v429z Problem
> >
> >
> > ÃÂ
> > Tom,
> >
> > Well, how many people really NEED to do arcs anyway.... :-)
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ray,
> > > ÃâÃÂ
> > > I think I see what is going on.ÃâàI re-plotted your data and uploaded the Excel Sheet.ÃâàÃâàLooks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic.ÃâàEverything works fine for Albert (and me) because we weren't doing any Arcs.ÃâàGive me some time to come up with a fix.
> > > ÃâÃÂ
> > > Looks like it wasn't noise :}
> > > ÃâÃÂ
> > > Regards
> > > TK
> > >
> > > From: himykabibble <jagboy@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thursday, February 23, 2012 12:05 PM
> > > Subject: [DynoMotion] Re: v429z Problem
> > >
> > >
> > > ÃâÃÂ
> > > BTW - I can duplicate this with two different KFlops, and two different PCs....
> > >
> > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > >
> > > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > > >
> > > > > Tom,
> > > > >
> > > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident.
> > > > >
> > > > > Regards,
> > > > > Ray L.
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > > > >
> > > > > > Tom,
> > > > > >
> > > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate, constant speed
> > > moves, always in exactly the same place, and they ARE reflected in the DROs.
> > > > > >
> > > > > > I've posted the G-code I'm using in RayLs Files.
> > > > > >
> > > > > > Regards,
> > > > > > Ray L.
> > > > > >
> > > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 4109 |
From: himykabibble |
Date: 2/27/2012 |
Subject: Re: v429z Problem |
Tom,
Whatever that weirdness was yesterday, it did not repeat today, so I think we're OK.
Any word on when we'll have a dotNet release where Connected works properly?
Also, is MainStatus now working correctly in dotNet?
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Tom,
>
> Today I ran a batch of the same parts that failed a few days ago, and that problem seems to be fixed. I was able to run one batch of parts that came out perfect.
>
> However, while setting up, I did have a different problem that seems might be related - When I first started up my app, and started doing the setup, I found the interpreter was hanging if I did any MDI command that involved axis motion. I have on-screen indicators that show whether the interpreter is running or not, and it would stay on after any MDI that required axis motion, and the motion would not occur. Any non-move commands, like M3, M7, G54, etc. worked fine. I tried KMotionCNC and got the same behavior. I went back to my app, loaded my program, and started it, and it executed to the first move, then hung. I stopped it, did a rewind, and this time single-stepped through the first few moves, and all seemed fine. So I started it running from the start, and the problem did not re-occur. I'll see if it repeats tomorrow.
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray
> > Â
> > Here are the sources changed from V4.29z:
> > Â
> > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
> > Â
> > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
> > Â
> > Regards
> > TK
> >
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Saturday, February 25, 2012 2:35 PM
> > Subject: [DynoMotion] Re: v429z Problem
> >
> >
> > Â
> > Tom,
> >
> > I was only able to run a quick test, but it appears to be working correctly now. I'll try to run some real parts tomorrow, once I get my machine back together (finally installing limit switches on X, Y and A axes).
> >
> > Can I get the modified source, as I need to make my tool length comp mods before I can run any of my existing G-code.
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Ray,
> > > ÃÂ
> > > Please try this patch to fix GCode Arcs for V4.29z.ÃÂ Copy to the C:\Kmotion429z\Kmotion\Release directory
> > > ÃÂ
> > > http://dynomotion.com/Software/Patch/FixTP429Arcs/GCodeInterpreter.dll
> > > ÃÂ
> > > Regards
> > > TK
> > > ÃÂ
> > >
> > > From: himykabibble <jagboy@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thursday, February 23, 2012 2:25 PM
> > > Subject: [DynoMotion] Re: v429z Problem
> > >
> > >
> > > ÃÂ
> > > Tom,
> > >
> > > Well, how many people really NEED to do arcs anyway.... :-)
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > >
> > > > Hi Ray,
> > > > ÃâÃÂ
> > > > I think I see what is going on.ÃâàI re-plotted your data and uploaded the Excel Sheet.ÃâàÃâàLooks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic.ÃâàEverything works fine for Albert (and me) because we weren't doing any Arcs.ÃâàGive me some time to come up with a fix.
> > > > ÃâÃÂ
> > > > Looks like it wasn't noise :}
> > > > ÃâÃÂ
> > > > Regards
> > > > TK
> > > >
> > > > From: himykabibble <jagboy@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Thursday, February 23, 2012 12:05 PM
> > > > Subject: [DynoMotion] Re: v429z Problem
> > > >
> > > >
> > > > ÃâÃÂ
> > > > BTW - I can duplicate this with two different KFlops, and two different PCs....
> > > >
> > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > > >
> > > > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position.
> > > > >
> > > > > Regards,
> > > > > Ray L.
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > > > >
> > > > > > Tom,
> > > > > >
> > > > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident.
> > > > > >
> > > > > > Regards,
> > > > > > Ray L.
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > > > > >
> > > > > > > Tom,
> > > > > > >
> > > > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate, constant speed
> > > > moves, always in exactly the same place, and they ARE reflected in the DROs.
> > > > > > >
> > > > > > > I've posted the G-code I'm using in RayLs Files.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Ray L.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 4112 |
From: Brad Murry |
Date: 2/27/2012 |
Subject: Re: v429z Problem |
MainStatus works well. I have not tried the Connected() method with the new patches. -Brad From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble Sent: Monday, February 27, 2012 11:59 AM To: DynoMotion@yahoogroups.com Subject: [DynoMotion] Re: v429z Problem Tom,
Whatever that weirdness was yesterday, it did not repeat today, so I think we're OK.
Any word on when we'll have a dotNet release where Connected works properly?
Also, is MainStatus now working correctly in dotNet?
Regards, Ray L.
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote: > > Tom, > > Today I ran a batch of the same parts that failed a few days ago, and that problem seems to be fixed. I was able to run one batch of parts that came out perfect. > > However, while setting up, I did have a different problem that seems might be related - When I first started up my app, and started doing the setup, I found the interpreter was hanging if I did any MDI command that involved axis motion. I have on-screen indicators that show whether the interpreter is running or not, and it would stay on after any MDI that required axis motion, and the motion would not occur. Any non-move commands, like M3, M7, G54, etc. worked fine. I tried KMotionCNC and got the same behavior. I went back to my app, loaded my program, and started it, and it executed to the first move, then hung. I stopped it, did a rewind, and this time single-stepped through the first few moves, and all seemed fine. So I started it running from the start, and the problem did not re-occur. I'll see if it repeats tomorrow. > > Regards, > Ray L. > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote: > > > > Hi Ray > >  > > Here are the sources changed from V4.29z: > >  > > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp > >  > > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp > >  > > Regards > > TK > > > > From: himykabibble <jagboy@> > > To: DynoMotion@yahoogroups.com > > Sent: Saturday, February 25, 2012 2:35 PM > > Subject: [DynoMotion] Re: v429z Problem > > > > > >  > > Tom, > > > > I was only able to run a quick test, but it appears to be working correctly now. I'll try to run some real parts tomorrow, once I get my machine back together (finally installing limit switches on X, Y and A axes). > > > > Can I get the modified source, as I need to make my tool length comp mods before I can run any of my existing G-code. > > > > Regards, > > Ray L. > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote: > > > > > > Ray, > > >  > > > Please try this patch to fix GCode Arcs for V4.29z. Copy to the C:\Kmotion429z\Kmotion\Release directory > > >  > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/GCodeInterpreter.dll > > >  > > > Regards > > > TK > > >  > > > > > > From: himykabibble <jagboy@> > > > To: DynoMotion@yahoogroups.com > > > Sent: Thursday, February 23, 2012 2:25 PM > > > Subject: [DynoMotion] Re: v429z Problem > > > > > > > > >  > > > Tom, > > > > > > Well, how many people really NEED to do arcs anyway.... :-) > > > > > > Regards, > > > Ray L. > > > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote: > > > > > > > > Hi Ray, > > > >  > > > > I think I see what is going on. I re-plotted your data and uploaded the Excel Sheet.  Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic. Everything works fine for Albert (and me) because we weren't doing any Arcs. Give me some time to come up with a fix. > > > >  > > > > Looks like it wasn't noise :} > > > >  > > > > Regards > > > > TK > > > > > > > > From: himykabibble <jagboy@> > > > > To: DynoMotion@yahoogroups.com > > > > Sent: Thursday, February 23, 2012 12:05 PM > > > > Subject: [DynoMotion] Re: v429z Problem > > > > > > > > > > > >  > > > > BTW - I can duplicate this with two different KFlops, and two different PCs.... > > > > > > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote: > > > > > > > > > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position. > > > > > > > > > > Regards, > > > > > Ray L. > > > > > > > > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote: > > > > > > > > > > > > Tom, > > > > > > > > > > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident. > > > > > > > > > > > > Regards, > > > > > > Ray L. > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote: > > > > > > > > > > > > > > Tom, > > > > > > > > > > > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate, constant speed > > > > moves, always in exactly the same place, and they ARE reflected in the DROs. > > > > > > > > > > > > > > I've posted the G-code I'm using in RayLs Files. > > > > > > > > > > > > > > Regards, > > > > > > > Ray L. > > > > > > > > > > > > > > > > > > > > > > > > > > > >
|
|
Group: DynoMotion |
Message: 4113 |
From: himykabibble |
Date: 2/27/2012 |
Subject: Re: v429z Problem |
Brad,
"new patches"?? When/Where? All I've seen is the 429z release about 10 days ago.
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> MainStatus works well.
>
>
>
> I have not tried the Connected() method with the new patches.
>
>
>
> -Brad
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
> Sent: Monday, February 27, 2012 11:59 AM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: v429z Problem
>
>
>
>
>
> Tom,
>
> Whatever that weirdness was yesterday, it did not repeat today, so I think we're OK.
>
> Any word on when we'll have a dotNet release where Connected works properly?
>
> Also, is MainStatus now working correctly in dotNet?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> >
> > Tom,
> >
> > Today I ran a batch of the same parts that failed a few days ago, and that problem seems to be fixed. I was able to run one batch of parts that came out perfect.
> >
> > However, while setting up, I did have a different problem that seems might be related - When I first started up my app, and started doing the setup, I found the interpreter was hanging if I did any MDI command that involved axis motion. I have on-screen indicators that show whether the interpreter is running or not, and it would stay on after any MDI that required axis motion, and the motion would not occur. Any non-move commands, like M3, M7, G54, etc. worked fine. I tried KMotionCNC and got the same behavior. I went back to my app, loaded my program, and started it, and it executed to the first move, then hung. I stopped it, did a rewind, and this time single-stepped through the first few moves, and all seemed fine. So I started it running from the start, and the problem did not re-occur. I'll see if it repeats tomorrow.
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ray
> > > Ã
> > > Here areà the sources changed from V4.29z:
> > > Ã
> > > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
> > > Ã
> > > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
> > > Ã
> > > Regards
> > > TK
> > >
> > > From: himykabibble <jagboy@>
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Sent: Saturday, February 25, 2012 2:35 PM
> > > Subject: [DynoMotion] Re: v429z Problem
> > >
> > >
> > > Ã
> > > Tom,
> > >
> > > I was only able to run a quick test, but it appears to be working correctly now. I'll try to run some real parts tomorrow, once I get my machine back together (finally installing limit switches on X, Y and A axes).
> > >
> > > Can I get the modified source, as I need to make my tool length comp mods before I can run any of my existing G-code.
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > >
> > > > Ray,
> > > > ÃâÃ
> > > > Please try this patch to fix GCode Arcs for V4.29z.Ãâà Copy to the C:\Kmotion429z\Kmotion\Release directory
> > > > ÃâÃ
> > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/GCodeInterpreter.dll
> > > > ÃâÃ
> > > > Regards
> > > > TK
> > > > ÃâÃ
> > > >
> > > > From: himykabibble <jagboy@>
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Sent: Thursday, February 23, 2012 2:25 PM
> > > > Subject: [DynoMotion] Re: v429z Problem
> > > >
> > > >
> > > > ÃâÃ
> > > > Tom,
> > > >
> > > > Well, how many people really NEED to do arcs anyway.... :-)
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Hi Ray,
> > > > > ÃÆ'ââ¬Å¡ÃâÃ
> > > > > I think I see what is going on.ÃÆ'ââ¬Å¡Ãâà I re-plotted your data and uploaded the Excel Sheet.ÃÆ'ââ¬Å¡Ãâà ÃÆ'ââ¬Å¡Ãâà Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic.ÃÆ'ââ¬Å¡Ãâà Everything works fine for Albert (and me) because we weren't doing any Arcs.ÃÆ'ââ¬Å¡Ãâà Give me some time to come up with a fix.
> > > > > ÃÆ'ââ¬Å¡ÃâÃ
> > > > > Looks like it wasn't noise :}
> > > > > ÃÆ'ââ¬Å¡ÃâÃ
> > > > > Regards
> > > > > TK
> > > > >
> > > > > From: himykabibble <jagboy@>
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Sent: Thursday, February 23, 2012 12:05 PM
> > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > >
> > > > >
> > > > > ÃÆ'ââ¬Å¡ÃâÃ
> > > > > BTW - I can duplicate this with two different KFlops, and two different PCs....
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > >
> > > > > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position.
> > > > > >
> > > > > > Regards,
> > > > > > Ray L.
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > >
> > > > > > > Tom,
> > > > > > >
> > > > > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Ray L.
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > >
> > > > > > > > Tom,
> > > > > > > >
> > > > > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate, constant speed
> > > > > moves, always in exactly the same place, and they ARE reflected in the DROs.
> > > > > > > >
> > > > > > > > I've posted the G-code I'm using in RayLs Files.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Ray L.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 4115 |
From: fireup_kev |
Date: 2/27/2012 |
Subject: Re: v429z Problem |
For me, MainStatus still as a bug in the upper bits.
GetKFlopBitDiection does not return the correct values for bit 32 to 64
Kevin
--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> MainStatus works well.
>
>
>
> I have not tried the Connected() method with the new patches.
>
>
>
> -Brad
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
> Sent: Monday, February 27, 2012 11:59 AM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: v429z Problem
>
>
>
>
>
> Tom,
>
> Whatever that weirdness was yesterday, it did not repeat today, so I think we're OK.
>
> Any word on when we'll have a dotNet release where Connected works properly?
>
> Also, is MainStatus now working correctly in dotNet?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> >
> > Tom,
> >
> > Today I ran a batch of the same parts that failed a few days ago, and that problem seems to be fixed. I was able to run one batch of parts that came out perfect.
> >
> > However, while setting up, I did have a different problem that seems might be related - When I first started up my app, and started doing the setup, I found the interpreter was hanging if I did any MDI command that involved axis motion. I have on-screen indicators that show whether the interpreter is running or not, and it would stay on after any MDI that required axis motion, and the motion would not occur. Any non-move commands, like M3, M7, G54, etc. worked fine. I tried KMotionCNC and got the same behavior. I went back to my app, loaded my program, and started it, and it executed to the first move, then hung. I stopped it, did a rewind, and this time single-stepped through the first few moves, and all seemed fine. So I started it running from the start, and the problem did not re-occur. I'll see if it repeats tomorrow.
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ray
> > > Ã
> > > Here areà the sources changed from V4.29z:
> > > Ã
> > > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
> > > Ã
> > > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
> > > Ã
> > > Regards
> > > TK
> > >
> > > From: himykabibble <jagboy@>
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Sent: Saturday, February 25, 2012 2:35 PM
> > > Subject: [DynoMotion] Re: v429z Problem
> > >
> > >
> > > Ã
> > > Tom,
> > >
> > > I was only able to run a quick test, but it appears to be working correctly now. I'll try to run some real parts tomorrow, once I get my machine back together (finally installing limit switches on X, Y and A axes).
> > >
> > > Can I get the modified source, as I need to make my tool length comp mods before I can run any of my existing G-code.
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > >
> > > > Ray,
> > > > ÃâÃ
> > > > Please try this patch to fix GCode Arcs for V4.29z.Ãâà Copy to the C:\Kmotion429z\Kmotion\Release directory
> > > > ÃâÃ
> > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/GCodeInterpreter.dll
> > > > ÃâÃ
> > > > Regards
> > > > TK
> > > > ÃâÃ
> > > >
> > > > From: himykabibble <jagboy@>
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Sent: Thursday, February 23, 2012 2:25 PM
> > > > Subject: [DynoMotion] Re: v429z Problem
> > > >
> > > >
> > > > ÃâÃ
> > > > Tom,
> > > >
> > > > Well, how many people really NEED to do arcs anyway.... :-)
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Hi Ray,
> > > > > ÃÆ'ââ¬Å¡ÃâÃ
> > > > > I think I see what is going on.ÃÆ'ââ¬Å¡Ãâà I re-plotted your data and uploaded the Excel Sheet.ÃÆ'ââ¬Å¡Ãâà ÃÆ'ââ¬Å¡Ãâà Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic.ÃÆ'ââ¬Å¡Ãâà Everything works fine for Albert (and me) because we weren't doing any Arcs.ÃÆ'ââ¬Å¡Ãâà Give me some time to come up with a fix.
> > > > > ÃÆ'ââ¬Å¡ÃâÃ
> > > > > Looks like it wasn't noise :}
> > > > > ÃÆ'ââ¬Å¡ÃâÃ
> > > > > Regards
> > > > > TK
> > > > >
> > > > > From: himykabibble <jagboy@>
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Sent: Thursday, February 23, 2012 12:05 PM
> > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > >
> > > > >
> > > > > ÃÆ'ââ¬Å¡ÃâÃ
> > > > > BTW - I can duplicate this with two different KFlops, and two different PCs....
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > >
> > > > > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position.
> > > > > >
> > > > > > Regards,
> > > > > > Ray L.
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > >
> > > > > > > Tom,
> > > > > > >
> > > > > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Ray L.
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > >
> > > > > > > > Tom,
> > > > > > > >
> > > > > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate, constant speed
> > > > > moves, always in exactly the same place, and they ARE reflected in the DROs.
> > > > > > > >
> > > > > > > > I've posted the G-code I'm using in RayLs Files.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Ray L.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
|
|
Group: DynoMotion |
Message: 4127 |
From: Tom Kerekes |
Date: 2/27/2012 |
Subject: Re: v429z Problem |
Hi Kevin,
Yes it looks like (KMotion_dotNet\KM_MainStatus.cs)
public int GetKFlopBitDirection(int index)
{
if (index > 31)
{
return GetValue(_BitsDirection[1], index - 31, 1);
}
else
{
return GetValue(_BitsDirection[0], index, 1);
}
}
should be:
public int GetKFlopBitDirection(int index)
{
if (index > 31)
{
return GetValue(_BitsDirection[1], index - 32, 1);
}
else
{
return GetValue(_BitsDirection[0], index, 1);
}
}
Thanks
TK
Group: DynoMotion |
Message: 4132 |
From: fireup_kev |
Date: 2/28/2012 |
Subject: Re: v429z Problem |
Thanks Tom
So this, and
http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
are the changes I need to make to the source to take care of the current bugs reported so far?
Kevin
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Kevin,
> Â
> Yes it looks like (KMotion_dotNet\KM_MainStatus.cs)
> Â {
> Â Â Â {
>    }publicintGetKFlopBitDirection(intindex)   if(index > 31)       returnGetValue(_BitsDirection[1], index - 31, 1);   else   {
> Â Â Â }
> }Â Â Â Â Â Â Â returnGetValue(_BitsDirection[0], index, 1);
> Â
> should be:
> Â publicintGetKFlopBitDirection(intindex)if(index > 31)returnGetValue(_BitsDirection[1], index - 32, 1);else{
> }
> }returnGetValue(_BitsDirection[0], index, 1);
> Â
> Thanks
> TK
>
> From: fireup_kev <kliboon@...>
> To: DynoMotion@yahoogroups.com
> Sent: Monday, February 27, 2012 2:18 PM
> Subject: [DynoMotion] Re: v429z Problem
>
>
> Â
> For me, MainStatus still as a bug in the upper bits.
>
> GetKFlopBitDiection does not return the correct values for bit 32 to 64
>
> Kevin
>
> --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> >
> > MainStatus works well.
> >
> >
> >
> > I have not tried the Connected() method with the new patches.
> >
> >
> >
> > -Brad
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
> > Sent: Monday, February 27, 2012 11:59 AM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Re: v429z Problem
> >
> >
> >
> >
> >
> > Tom,
> >
> > Whatever that weirdness was yesterday, it did not repeat today, so I think we're OK.
> >
> > Any word on when we'll have a dotNet release where Connected works properly?
> >
> > Also, is MainStatus now working correctly in dotNet?
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > >
> > > Tom,
> > >
> > > Today I ran a batch of the same parts that failed a few days ago, and that problem seems to be fixed. I was able to run one batch of parts that came out perfect.
> > >
> > > However, while setting up, I did have a different problem that seems might be related - When I first started up my app, and started doing the setup, I found the interpreter was hanging if I did any MDI command that involved axis motion. I have on-screen indicators that show whether the interpreter is running or not, and it would stay on after any MDI that required axis motion, and the motion would not occur. Any non-move commands, like M3, M7, G54, etc. worked fine. I tried KMotionCNC and got the same behavior. I went back to my app, loaded my program, and started it, and it executed to the first move, then hung. I stopped it, did a rewind, and this time single-stepped through the first few moves, and all seemed fine. So I started it running from the start, and the problem did not re-occur. I'll see if it repeats tomorrow.
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > >
> > > > Hi Ray
> > > > Ãâ
> > > > Here areÃâ the sources changed from V4.29z:
> > > > Ãâ
> > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
> > > > Ãâ
> > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
> > > > Ãâ
> > > > Regards
> > > > TK
> > > >
> > > > From: himykabibble <jagboy@>
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Sent: Saturday, February 25, 2012 2:35 PM
> > > > Subject: [DynoMotion] Re: v429z Problem
> > > >
> > > >
> > > > Ãâ
> > > > Tom,
> > > >
> > > > I was only able to run a quick test, but it appears to be working correctly now. I'll try to run some real parts tomorrow, once I get my machine back together (finally installing limit switches on X, Y and A axes).
> > > >
> > > > Can I get the modified source, as I need to make my tool length comp mods before I can run any of my existing G-code.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Ray,
> > > > > ÃÆ'ââ¬Å¡Ãâ
> > > > > Please try this patch to fix GCode Arcs for V4.29z.ÃÆ'ââ¬Å¡Ãâ Copy to the C:\Kmotion429z\Kmotion\Release directory
> > > > > ÃÆ'ââ¬Å¡Ãâ
> > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/GCodeInterpreter.dll
> > > > > ÃÆ'ââ¬Å¡Ãâ
> > > > > Regards
> > > > > TK
> > > > > ÃÆ'ââ¬Å¡Ãâ
> > > > >
> > > > > From: himykabibble <jagboy@>
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Sent: Thursday, February 23, 2012 2:25 PM
> > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > >
> > > > >
> > > > > ÃÆ'ââ¬Å¡Ãâ
> > > > > Tom,
> > > > >
> > > > > Well, how many people really NEED to do arcs anyway.... :-)
> > > > >
> > > > > Regards,
> > > > > Ray L.
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Hi Ray,
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ
> > > > > > I think I see what is going on.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ I re-plotted your data and uploaded the Excel Sheet.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ Everything works fine for Albert (and me) because we weren't doing any Arcs.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ Give me some time to come up with a fix.
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ
> > > > > > Looks like it wasn't noise :}
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ
> > > > > > Regards
> > > > > > TK
> > > > > >
> > > > > > From: himykabibble <jagboy@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Thursday, February 23, 2012 12:05 PM
> > > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > > >
> > > > > >
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡Ãâ
> > > > > > BTW - I can duplicate this with two different KFlops, and two different PCs....
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > >
> > > > > > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Ray L.
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > >
> > > > > > > > Tom,
> > > > > > > >
> > > > > > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Ray L.
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > > >
> > > > > > > > > Tom,
> > > > > > > > >
> > > > > > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate,
> constant speed
> > > > > > moves, always in exactly the same place, and they ARE reflected in the DROs.
> > > > > > > > >
> > > > > > > > > I've posted the G-code I'm using in RayLs Files.
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Ray L.
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
>
>
>
>
> {
> {
> }
>
|
|
Group: DynoMotion |
Message: 4133 |
From: Tom Kerekes |
Date: 2/28/2012 |
Subject: Re: v429z Problem |
Hi Kevin,
Yes those should be the only changes.
TK
Group: DynoMotion |
Message: 4144 |
From: himykabibble |
Date: 2/29/2012 |
Subject: Re: v429z Problem |
Tom,
Thought you'd like to know - I've been using my machine quite a bit the last several days with 429z, and not a single problem since putting in the planner patches. Everything has worked absolutely perfectly.
Kinda funny - I've gotten so used to Mach3 doing unpredictable things over the last few years, today I thought something weird was happening, and hit the stop button, only to find it was doing the right thing, and I was confused about where it was in the program. I actually ended up trusting it enough to leave the machine running while I went into the house for lunch. I could NEVER do that with Mach3.
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Kevin,
> Â
> Yes those should be the only changes.
> Â
> TK
>
>
> ________________________________
> From: fireup_kev <kliboon@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tuesday, February 28, 2012 7:33 AM
> Subject: [DynoMotion] Re: v429z Problem
>
>
> Â
> Thanks Tom
>
> So this, and
>
> http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
>
> http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
>
> are the changes I need to make to the source to take care of the current bugs reported so far?
>
> Kevin
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Kevin,
> > ÃÂ
> > Yes it looks like (KMotion_dotNet\KM_MainStatus.cs)
> > ÃÂ {
> > ÃÂ ÃÂ ÃÂ {
> > ÃÂ ÃÂ ÃÂ }publicintGetKFlopBitDirection(intindex)ÃÂ ÃÂ ÃÂ if(index > 31)ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ returnGetValue(_BitsDirection[1], index - 31, 1);ÃÂ ÃÂ ÃÂ elseÃÂ ÃÂ ÃÂ {
> > ÃÂ ÃÂ ÃÂ }
> > }ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ returnGetValue(_BitsDirection[0], index, 1);
> > ÃÂ
> > should be:
> > ÃÂ publicintGetKFlopBitDirection(intindex)if(index > 31)returnGetValue(_BitsDirection[1], index - 32, 1);else{
> > }
> > }returnGetValue(_BitsDirection[0], index, 1);
> > ÃÂ
> > Thanks
> > TK
> >
> > From: fireup_kev <kliboon@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Monday, February 27, 2012 2:18 PM
> > Subject: [DynoMotion] Re: v429z Problem
> >
> >
> > ÃÂ
> > For me, MainStatus still as a bug in the upper bits.
> >
> > GetKFlopBitDiection does not return the correct values for bit 32 to 64
> >
> > Kevin
> >
> > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > >
> > > MainStatus works well.
> > >
> > >
> > >
> > > I have not tried the Connected() method with the new patches.
> > >
> > >
> > >
> > > -Brad
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
> > > Sent: Monday, February 27, 2012 11:59 AM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: [DynoMotion] Re: v429z Problem
> > >
> > >
> > >
> > >
> > >
> > > Tom,
> > >
> > > Whatever that weirdness was yesterday, it did not repeat today, so I think we're OK.
> > >
> > > Any word on when we'll have a dotNet release where Connected works properly?
> > >
> > > Also, is MainStatus now working correctly in dotNet?
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > >
> > > > Tom,
> > > >
> > > > Today I ran a batch of the same parts that failed a few days ago, and that problem seems to be fixed. I was able to run one batch of parts that came out perfect.
> > > >
> > > > However, while setting up, I did have a different problem that seems might be related - When I first started up my app, and started doing the setup, I found the interpreter was hanging if I did any MDI command that involved axis motion. I have on-screen indicators that show whether the interpreter is running or not, and it would stay on after any MDI that required axis motion, and the motion would not occur. Any non-move commands, like M3, M7, G54, etc. worked fine. I tried KMotionCNC and got the same behavior. I went back to my app, loaded my program, and started it, and it executed to the first move, then hung. I stopped it, did a rewind, and this time single-stepped through the first few moves, and all seemed fine. So I started it running from the start, and the problem did not re-occur. I'll see if it repeats tomorrow.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Hi Ray
> > > > > ÃÆ'ââ¬Å¡
> > > > > Here areÃÆ'ââ¬Å¡ the sources changed from V4.29z:
> > > > > ÃÆ'ââ¬Å¡
> > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
> > > > > ÃÆ'ââ¬Å¡
> > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
> > > > > ÃÆ'ââ¬Å¡
> > > > > Regards
> > > > > TK
> > > > >
> > > > > From: himykabibble <jagboy@>
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Sent: Saturday, February 25, 2012 2:35 PM
> > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > >
> > > > >
> > > > > ÃÆ'ââ¬Å¡
> > > > > Tom,
> > > > >
> > > > > I was only able to run a quick test, but it appears to be working correctly now. I'll try to run some real parts tomorrow, once I get my machine back together (finally installing limit switches on X, Y and A axes).
> > > > >
> > > > > Can I get the modified source, as I need to make my tool length comp mods before I can run any of my existing G-code.
> > > > >
> > > > > Regards,
> > > > > Ray L.
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Ray,
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > Please try this patch to fix GCode Arcs for V4.29z.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ Copy to the C:\Kmotion429z\Kmotion\Release directory
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/GCodeInterpreter.dll
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > Regards
> > > > > > TK
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > >
> > > > > > From: himykabibble <jagboy@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Thursday, February 23, 2012 2:25 PM
> > > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > > >
> > > > > >
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > Tom,
> > > > > >
> > > > > > Well, how many people really NEED to do arcs anyway.... :-)
> > > > > >
> > > > > > Regards,
> > > > > > Ray L.
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > >
> > > > > > > Hi Ray,
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > > I think I see what is going on.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ I re-plotted your data and uploaded the Excel Sheet.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ Everything works fine for Albert (and me) because we weren't doing any Arcs.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ Give me some time to come up with a fix.
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > > Looks like it wasn't noise :}
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > > Regards
> > > > > > > TK
> > > > > > >
> > > > > > > From: himykabibble <jagboy@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Thursday, February 23, 2012 12:05 PM
> > > > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > > > >
> > > > > > >
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > > BTW - I can duplicate this with two different KFlops, and two different PCs....
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > >
> > > > > > > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Ray L.
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > > >
> > > > > > > > > Tom,
> > > > > > > > >
> > > > > > > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident.
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Ray L.
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > > > >
> > > > > > > > > > Tom,
> > > > > > > > > >
> > > > > > > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate,
> > constant speed
> > > > > > > moves, always in exactly the same place, and they ARE reflected in the DROs.
> > > > > > > > > >
> > > > > > > > > > I've posted the G-code I'm using in RayLs Files.
> > > > > > > > > >
> > > > > > > > > > Regards,
> > > > > > > > > > Ray L.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> >
> >
> >
> >
> > {
> > {
> > }
> >
>
|
|
Group: DynoMotion |
Message: 4145 |
From: fireup_kev |
Date: 2/29/2012 |
Subject: Re: v429z Problem |
I found another problem....
When I move my application out to it's own directory, it gives me an unable to open file "\GCode Programs\emc.var" error. Last version I specified CoordMotion.Interpreter.MainPathRoot but 4.29z no longer has this value and CoordMotion.Interpreter.SetupFile does not seem to be the same thing.
Thanks,
Kevin
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Kevin,
> Â
> Yes those should be the only changes.
> Â
> TK
>
>
> ________________________________
> From: fireup_kev <kliboon@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tuesday, February 28, 2012 7:33 AM
> Subject: [DynoMotion] Re: v429z Problem
>
>
> Â
> Thanks Tom
>
> So this, and
>
> http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
>
> http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
>
> are the changes I need to make to the source to take care of the current bugs reported so far?
>
> Kevin
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Kevin,
> > ÃÂ
> > Yes it looks like (KMotion_dotNet\KM_MainStatus.cs)
> > ÃÂ {
> > ÃÂ ÃÂ ÃÂ {
> > ÃÂ ÃÂ ÃÂ }publicintGetKFlopBitDirection(intindex)ÃÂ ÃÂ ÃÂ if(index > 31)ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ returnGetValue(_BitsDirection[1], index - 31, 1);ÃÂ ÃÂ ÃÂ elseÃÂ ÃÂ ÃÂ {
> > ÃÂ ÃÂ ÃÂ }
> > }ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ returnGetValue(_BitsDirection[0], index, 1);
> > ÃÂ
> > should be:
> > ÃÂ publicintGetKFlopBitDirection(intindex)if(index > 31)returnGetValue(_BitsDirection[1], index - 32, 1);else{
> > }
> > }returnGetValue(_BitsDirection[0], index, 1);
> > ÃÂ
> > Thanks
> > TK
> >
> > From: fireup_kev <kliboon@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Monday, February 27, 2012 2:18 PM
> > Subject: [DynoMotion] Re: v429z Problem
> >
> >
> > ÃÂ
> > For me, MainStatus still as a bug in the upper bits.
> >
> > GetKFlopBitDiection does not return the correct values for bit 32 to 64
> >
> > Kevin
> >
> > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > >
> > > MainStatus works well.
> > >
> > >
> > >
> > > I have not tried the Connected() method with the new patches.
> > >
> > >
> > >
> > > -Brad
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
> > > Sent: Monday, February 27, 2012 11:59 AM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: [DynoMotion] Re: v429z Problem
> > >
> > >
> > >
> > >
> > >
> > > Tom,
> > >
> > > Whatever that weirdness was yesterday, it did not repeat today, so I think we're OK.
> > >
> > > Any word on when we'll have a dotNet release where Connected works properly?
> > >
> > > Also, is MainStatus now working correctly in dotNet?
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > >
> > > > Tom,
> > > >
> > > > Today I ran a batch of the same parts that failed a few days ago, and that problem seems to be fixed. I was able to run one batch of parts that came out perfect.
> > > >
> > > > However, while setting up, I did have a different problem that seems might be related - When I first started up my app, and started doing the setup, I found the interpreter was hanging if I did any MDI command that involved axis motion. I have on-screen indicators that show whether the interpreter is running or not, and it would stay on after any MDI that required axis motion, and the motion would not occur. Any non-move commands, like M3, M7, G54, etc. worked fine. I tried KMotionCNC and got the same behavior. I went back to my app, loaded my program, and started it, and it executed to the first move, then hung. I stopped it, did a rewind, and this time single-stepped through the first few moves, and all seemed fine. So I started it running from the start, and the problem did not re-occur. I'll see if it repeats tomorrow.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Hi Ray
> > > > > ÃÆ'ââ¬Å¡
> > > > > Here areÃÆ'ââ¬Å¡ the sources changed from V4.29z:
> > > > > ÃÆ'ââ¬Å¡
> > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
> > > > > ÃÆ'ââ¬Å¡
> > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
> > > > > ÃÆ'ââ¬Å¡
> > > > > Regards
> > > > > TK
> > > > >
> > > > > From: himykabibble <jagboy@>
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Sent: Saturday, February 25, 2012 2:35 PM
> > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > >
> > > > >
> > > > > ÃÆ'ââ¬Å¡
> > > > > Tom,
> > > > >
> > > > > I was only able to run a quick test, but it appears to be working correctly now. I'll try to run some real parts tomorrow, once I get my machine back together (finally installing limit switches on X, Y and A axes).
> > > > >
> > > > > Can I get the modified source, as I need to make my tool length comp mods before I can run any of my existing G-code.
> > > > >
> > > > > Regards,
> > > > > Ray L.
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Ray,
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > Please try this patch to fix GCode Arcs for V4.29z.ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ Copy to the C:\Kmotion429z\Kmotion\Release directory
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/GCodeInterpreter.dll
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > Regards
> > > > > > TK
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > >
> > > > > > From: himykabibble <jagboy@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Thursday, February 23, 2012 2:25 PM
> > > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > > >
> > > > > >
> > > > > > ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > Tom,
> > > > > >
> > > > > > Well, how many people really NEED to do arcs anyway.... :-)
> > > > > >
> > > > > > Regards,
> > > > > > Ray L.
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > >
> > > > > > > Hi Ray,
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > > I think I see what is going on.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ I re-plotted your data and uploaded the Excel Sheet.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ Everything works fine for Albert (and me) because we weren't doing any Arcs.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡ Give me some time to come up with a fix.
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > > Looks like it wasn't noise :}
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > > Regards
> > > > > > > TK
> > > > > > >
> > > > > > > From: himykabibble <jagboy@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Thursday, February 23, 2012 12:05 PM
> > > > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > > > >
> > > > > > >
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ÃÆ'ââ¬Å¡
> > > > > > > BTW - I can duplicate this with two different KFlops, and two different PCs....
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > >
> > > > > > > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Ray L.
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > > >
> > > > > > > > > Tom,
> > > > > > > > >
> > > > > > > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident.
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Ray L.
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > > > >
> > > > > > > > > > Tom,
> > > > > > > > > >
> > > > > > > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate,
> > constant speed
> > > > > > > moves, always in exactly the same place, and they ARE reflected in the DROs.
> > > > > > > > > >
> > > > > > > > > > I've posted the G-code I'm using in RayLs Files.
> > > > > > > > > >
> > > > > > > > > > Regards,
> > > > > > > > > > Ray L.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> >
> >
> >
> >
> > {
> > {
> > }
> >
>
|
|
Group: DynoMotion |
Message: 4146 |
From: Tom Kerekes |
Date: 2/29/2012 |
Subject: Re: v429z Problem |
Hi Kevin,
I can't duplicate the poblem. CoordinateMotion should now automatically set the MainPathRoot to the root of where the GCodeInterpreter.dll is located. It will then use that to find \GCode Programs\emc.var. It shouldn't matter where your app is located, but the DLL has to be placed relative to that file correctly.
Otherwise could you set a breakpoint on the line:
CString Name=(CString)(GC->CoordMotion->MainPathRoot) + \\GCode Programs\\emc.var;
and see what value it has?
Thanks
TK
Group: DynoMotion |
Message: 4147 |
From: fireup_kev |
Date: 2/29/2012 |
Subject: Re: v429z Problem |
I also moved GCodeIinterperter.dll and all dlls needed for my application to a new directory. It gives me garbage for (GC->CoordMotion->MainPathRoot).
I changed:
CString Name=(CString)(GC->CoordMotion->MainPathRoot) + ""\\GCode Programs\\emc.var";
to CString Name = "emc.var"; and just copy that emc.var file to my exe directory and it works for now...
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Kevin,
> Â
> I can't duplicate the poblem. CoordinateMotion should now automatically set the MainPathRoot to the root of where the GCodeInterpreter.dll is located. It will then use that to find \GCode Programs\emc.var. It shouldn't matter where your app is located, but the DLL has to be placed relative to that file correctly.
> Â
> Otherwise could you set a breakpoint on the line:
> Â CString Name=(CString)(GC->CoordMotion->MainPathRoot) +
> Â
> and see what value it has?
> Â
> Thanks
> TK\\GCode Programs\\emc.var;
>
> From: fireup_kev <kliboon@...>
> To: DynoMotion@yahoogroups.com
> Sent: Wednesday, February 29, 2012 8:52 PM
> Subject: [DynoMotion] Re: v429z Problem
>
>
> Â
> I found another problem....
>
> When I move my application out to it's own directory, it gives me an unable to open file "\GCode Programs\emc.var" error. Last version I specified CoordMotion.Interpreter.MainPathRoot but 4.29z no longer has this value and CoordMotion.Interpreter.SetupFile does not seem to be the same thing.
>
> Thanks,
> Kevin
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Kevin,
> > ÃÂ
> > Yes those should be the only changes.
> > ÃÂ
> > TK
> >
> >
> > ________________________________
> > From: fireup_kev <kliboon@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Tuesday, February 28, 2012 7:33 AM
> > Subject: [DynoMotion] Re: v429z Problem
> >
> >
> > ÃÂ
> > Thanks Tom
> >
> > So this, and
> >
> > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
> >
> > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
> >
> > are the changes I need to make to the source to take care of the current bugs reported so far?
> >
> > Kevin
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Kevin,
> > > ÃâÃÂ
> > > Yes it looks like (KMotion_dotNet\KM_MainStatus.cs)
> > > Ãâà{
> > > ÃâàÃâàÃâà{
> > > ÃâàÃâàÃâà}publicintGetKFlopBitDirection(intindex)ÃâàÃâàÃâàif(index > 31)ÃâàÃâàÃâàÃâàÃâàÃâàÃâàreturnGetValue(_BitsDirection[1], index - 31, 1);ÃâàÃâàÃâàelseÃâàÃâàÃâà{
> > > ÃâàÃâàÃâà}
> > > }ÃâàÃâàÃâàÃâàÃâàÃâàÃâàreturnGetValue(_BitsDirection[0], index, 1);
> > > ÃâÃÂ
> > > should be:
> > > ÃâàpublicintGetKFlopBitDirection(intindex)if(index > 31)returnGetValue(_BitsDirection[1], index - 32, 1);else{
> > > }
> > > }returnGetValue(_BitsDirection[0], index, 1);
> > > ÃâÃÂ
> > > Thanks
> > > TK
> > >
> > > From: fireup_kev <kliboon@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Monday, February 27, 2012 2:18 PM
> > > Subject: [DynoMotion] Re: v429z Problem
> > >
> > >
> > > ÃâÃÂ
> > > For me, MainStatus still as a bug in the upper bits.
> > >
> > > GetKFlopBitDiection does not return the correct values for bit 32 to 64
> > >
> > > Kevin
> > >
> > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > >
> > > > MainStatus works well.
> > > >
> > > >
> > > >
> > > > I have not tried the Connected() method with the new patches.
> > > >
> > > >
> > > >
> > > > -Brad
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
> > > > Sent: Monday, February 27, 2012 11:59 AM
> > > > To: DynoMotion@yahoogroups.com
> > > > Subject: [DynoMotion] Re: v429z Problem
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Tom,
> > > >
> > > > Whatever that weirdness was yesterday, it did not repeat today, so I think we're OK.
> > > >
> > > > Any word on when we'll have a dotNet release where Connected works properly?
> > > >
> > > > Also, is MainStatus now working correctly in dotNet?
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > >
> > > > > Tom,
> > > > >
> > > > > Today I ran a batch of the same parts that failed a few days ago, and that problem seems to be fixed. I was able to run one batch of parts that came out perfect.
> > > > >
> > > > > However, while setting up, I did have a different problem that seems might be related - When I first started up my app, and started doing the setup, I found the interpreter was hanging if I did any MDI command that involved axis motion. I have on-screen indicators that show whether the interpreter is running or not, and it would stay on after any MDI that required axis motion, and the motion would not occur. Any non-move commands, like M3, M7, G54, etc. worked fine. I tried KMotionCNC and got the same behavior. I went back to my app, loaded my program, and started it, and it executed to the first move, then hung. I stopped it, did a rewind, and this time single-stepped through the first few moves, and all seemed fine. So I started it running from the start, and the problem did not re-occur. I'll see if it repeats tomorrow.
> > > > >
> > > > > Regards,
> > > > > Ray L.
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Hi Ray
> > > > > > ÃÆ'Ã'âââ¬Ã
¡
> > > > > > Here areÃÆ'Ã'âââ¬Ã
¡ the sources changed from V4.29z:
> > > > > > ÃÆ'Ã'âââ¬Ã
¡
> > > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
> > > > > > ÃÆ'Ã'âââ¬Ã
¡
> > > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
> > > > > > ÃÆ'Ã'âââ¬Ã
¡
> > > > > > Regards
> > > > > > TK
> > > > > >
> > > > > > From: himykabibble <jagboy@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Saturday, February 25, 2012 2:35 PM
> > > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > > >
> > > > > >
> > > > > > ÃÆ'Ã'âââ¬Ã
¡
> > > > > > Tom,
> > > > > >
> > > > > > I was only able to run a quick test, but it appears to be working correctly now. I'll try to run some real parts tomorrow, once I get my machine back together (finally installing limit switches on X, Y and A axes).
> > > > > >
> > > > > > Can I get the modified source, as I need to make my tool length comp mods before I can run any of my existing G-code.
> > > > > >
> > > > > > Regards,
> > > > > > Ray L.
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > >
> > > > > > > Ray,
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > Please try this patch to fix GCode Arcs for V4.29z.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ Copy to the C:\Kmotion429z\Kmotion\Release directory
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/GCodeInterpreter.dll
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > Regards
> > > > > > > TK
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > >
> > > > > > > From: himykabibble <jagboy@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Thursday, February 23, 2012 2:25 PM
> > > > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > > > >
> > > > > > >
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > Tom,
> > > > > > >
> > > > > > > Well, how many people really NEED to do arcs anyway.... :-)
> > > > > > >
> > > > > > > Regards,
> > > > > > > Ray L.
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > >
> > > > > > > > Hi Ray,
> > > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââ¬Â 'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > > I think I see what is going on.ÃÆ'Ã'Ãâ 'ÃÆ'ââ¬Â 'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ I re-plotted your data and uploaded the Excel Sheet.ÃÆ'Ã'Ãâ 'ÃÆ'ââ¬Â 'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ ÃÆ'Ã'Ãâ 'ÃÆ'ââ¬Â 'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic.ÃÆ'Ã'Ãâ 'ÃÆ'ââ¬Â 'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ Everything works fine for Albert (and me) because we
> weren't doing any Arcs.ÃÆ'Ã'Ãâ 'ÃÆ'ââ¬Â 'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ Give me some time to come up with a fix.
> > > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââ¬Â 'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > > Looks like it wasn't noise :}
> > > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââ¬Â 'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > > Regards
> > > > > > > > TK
> > > > > > > >
> > > > > > > > From: himykabibble <jagboy@>
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Sent: Thursday, February 23, 2012 12:05 PM
> > > > > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > > > > >
> > > > > > > >
> > > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââ¬Â 'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > > BTW - I can duplicate this with two different KFlops, and two different PCs....
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > > >
> > > > > > > > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position.
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Ray L.
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > > > >
> > > > > > > > > > Tom,
> > > > > > > > > >
> > > > > > > > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident.
> > > > > > > > > >
> > > > > > > > > > Regards,
> > > > > > > > > > Ray L.
> > > > > > > > > >
> > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > > > > >
> > > > > > > > > > > Tom,
> > > > > > > > > > >
> > > > > > > > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate,
> > > constant speed
> > > > > > > > moves, always in exactly the same place, and they ARE reflected in the DROs.
> > > > > > > > > > >
> > > > > > > > > > > I've posted the G-code I'm using in RayLs Files.
> > > > > > > > > > >
> > > > > > > > > > > Regards,
> > > > > > > > > > > Ray L.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > > {
> > > {
> > > }
> > >
> >
>
|
|
Group: DynoMotion |
Message: 4148 |
From: Brad Murry |
Date: 2/29/2012 |
Subject: Re: v429z Problem |
Kevin, It was recommended to leave the MainPathRoot out of the API and let cKMotionDLL.cpp define that. The underlying libraries expect a very specific folder structure. Even if you copied the files in the KMotion\Release things will likely become unstable. I have found it is reliable to leave the KMotion4.xx folder alone and just load the KMotion_dotNet.dll at runtime. I use the following code in MM. It loads a dll that provides interfaces of some basic machine objects. You can simplify it to only load the KMotion_dotNet.dll private void LoadMachineAssembly() { var machinedll = _AssemblyPath; if (File.Exists(machinedll)) { var type = typeof(IMachineProvider); Assembly a = Assembly.LoadFrom(machinedll); var machineprovider = a.GetTypes().Where(p => type.IsAssignableFrom(p)).FirstOrDefault(); if (machineprovider != null) { var instance = Activator.CreateInstance(machineprovider); _Provider = instance as IMachineProvider; } else { throw new Exception("No valid Machine Providers found; Library must contain at least one class that implements IMachineProvider."); } } else { throw new FileNotFoundException("Invalid Machine Provider File"); } } The IMachineProvider interface can be as simple as you like and call it anything you want. Implement this interface with a class that houses an instance of KM_Controller. As I said, you could also just load KMotion_dotNet.dll with the above code. Your app already has a reference to the dll, just set it’s Copy Local to false and load the DLL like above. -Brad Murry From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of fireup_kev Sent: Wednesday, February 29, 2012 9:52 PM To: DynoMotion@yahoogroups.com Subject: [DynoMotion] Re: v429z Problem I found another problem....
When I move my application out to it's own directory, it gives me an unable to open file "\GCode Programs\emc.var" error. Last version I specified CoordMotion.Interpreter.MainPathRoot but 4.29z no longer has this value and CoordMotion.Interpreter.SetupFile does not seem to be the same thing.
Thanks, Kevin
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote: > > Hi Kevin, >  > Yes those should be the only changes. >  > TK > > > ________________________________ > From: fireup_kev <kliboon@...> > To: DynoMotion@yahoogroups.com > Sent: Tuesday, February 28, 2012 7:33 AM > Subject: [DynoMotion] Re: v429z Problem > > >  > Thanks Tom > > So this, and > > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp > > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp > > are the changes I need to make to the source to take care of the current bugs reported so far? > > Kevin > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote: > > > > Hi Kevin, > >  > > Yes it looks like (KMotion_dotNet\KM_MainStatus.cs) > >  { > >    { > >    }publicintGetKFlopBitDirection(intindex)   if(index > 31)       returnGetValue(_BitsDirection[1], index - 31, 1);   else   { > >    } > > }       returnGetValue(_BitsDirection[0], index, 1); > >  > > should be: > >  publicintGetKFlopBitDirection(intindex)if(index > 31)returnGetValue(_BitsDirection[1], index - 32, 1);else{ > > } > > }returnGetValue(_BitsDirection[0], index, 1); > >  > > Thanks > > TK > > > > From: fireup_kev <kliboon@> > > To: DynoMotion@yahoogroups.com > > Sent: Monday, February 27, 2012 2:18 PM > > Subject: [DynoMotion] Re: v429z Problem > > > > > >  > > For me, MainStatus still as a bug in the upper bits. > > > > GetKFlopBitDiection does not return the correct values for bit 32 to 64 > > > > Kevin > > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote: > > > > > > MainStatus works well. > > > > > > > > > > > > I have not tried the Connected() method with the new patches. > > > > > > > > > > > > -Brad > > > > > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble > > > Sent: Monday, February 27, 2012 11:59 AM > > > To: DynoMotion@yahoogroups.com > > > Subject: [DynoMotion] Re: v429z Problem > > > > > > > > > > > > > > > > > > Tom, > > > > > > Whatever that weirdness was yesterday, it did not repeat today, so I think we're OK. > > > > > > Any word on when we'll have a dotNet release where Connected works properly? > > > > > > Also, is MainStatus now working correctly in dotNet? > > > > > > Regards, > > > Ray L. > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote: > > > > > > > > Tom, > > > > > > > > Today I ran a batch of the same parts that failed a few days ago, and that problem seems to be fixed. I was able to run one batch of parts that came out perfect. > > > > > > > > However, while setting up, I did have a different problem that seems might be related - When I first started up my app, and started doing the setup, I found the interpreter was hanging if I did any MDI command that involved axis motion. I have on-screen indicators that show whether the interpreter is running or not, and it would stay on after any MDI that required axis motion, and the motion would not occur. Any non-move commands, like M3, M7, G54, etc. worked fine. I tried KMotionCNC and got the same behavior. I went back to my app, loaded my program, and started it, and it executed to the first move, then hung. I stopped it, did a rewind, and this time single-stepped through the first few moves, and all seemed fine. So I started it running from the start, and the problem did not re-occur. I'll see if it repeats tomorrow. > > > > > > > > Regards, > > > > Ray L. > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote: > > > > > > > > > > Hi Ray > > > > > ÃÆ'‚ > > > > > Here areÃÆ'‚ the sources changed from V4.29z: > > > > > ÃÆ'‚ > > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp > > > > > ÃÆ'‚ > > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp > > > > > ÃÆ'‚ > > > > > Regards > > > > > TK > > > > > > > > > > From: himykabibble <jagboy@> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> > > > > > Sent: Saturday, February 25, 2012 2:35 PM > > > > > Subject: [DynoMotion] Re: v429z Problem > > > > > > > > > > > > > > > ÃÆ'‚ > > > > > Tom, > > > > > > > > > > I was only able to run a quick test, but it appears to be working correctly now. I'll try to run some real parts tomorrow, once I get my machine back together (finally installing limit switches on X, Y and A axes). > > > > > > > > > > Can I get the modified source, as I need to make my tool length comp mods before I can run any of my existing G-code. > > > > > > > > > > Regards, > > > > > Ray L. > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote: > > > > > > > > > > > > Ray, > > > > > > ÃÆ'Æ'‚ÃÆ'‚ > > > > > > Please try this patch to fix GCode Arcs for V4.29z.ÃÆ'Æ'‚ÃÆ'‚ Copy to the C:\Kmotion429z\Kmotion\Release directory > > > > > > ÃÆ'Æ'‚ÃÆ'‚ > > > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/GCodeInterpreter.dll > > > > > > ÃÆ'Æ'‚ÃÆ'‚ > > > > > > Regards > > > > > > TK > > > > > > ÃÆ'Æ'‚ÃÆ'‚ > > > > > > > > > > > > From: himykabibble <jagboy@> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> > > > > > > Sent: Thursday, February 23, 2012 2:25 PM > > > > > > Subject: [DynoMotion] Re: v429z Problem > > > > > > > > > > > > > > > > > > ÃÆ'Æ'‚ÃÆ'‚ > > > > > > Tom, > > > > > > > > > > > > Well, how many people really NEED to do arcs anyway.... :-) > > > > > > > > > > > > Regards, > > > > > > Ray L. > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote: > > > > > > > > > > > > > > Hi Ray, > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚ > > > > > > > I think I see what is going on.ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚ I re-plotted your data and uploaded the Excel Sheet.ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚ ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚ Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic.ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚ Everything works fine for Albert (and me) because we weren't doing any Arcs.ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚ Give me some time to come up with a fix. > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚ > > > > > > > Looks like it wasn't noise :} > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚ > > > > > > > Regards > > > > > > > TK > > > > > > > > > > > > > > From: himykabibble <jagboy@> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> > > > > > > > Sent: Thursday, February 23, 2012 12:05 PM > > > > > > > Subject: [DynoMotion] Re: v429z Problem > > > > > > > > > > > > > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚ > > > > > > > BTW - I can duplicate this with two different KFlops, and two different PCs.... > > > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote: > > > > > > > > > > > > > > > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position. > > > > > > > > > > > > > > > > Regards, > > > > > > > > Ray L. > > > > > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote: > > > > > > > > > > > > > > > > > > Tom, > > > > > > > > > > > > > > > > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident. > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > Ray L. > > > > > > > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote: > > > > > > > > > > > > > > > > > > > > Tom, > > > > > > > > > > > > > > > > > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate, > > constant speed > > > > > > > moves, always in exactly the same place, and they ARE reflected in the DROs. > > > > > > > > > > > > > > > > > > > > I've posted the G-code I'm using in RayLs Files. > > > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > Ray L. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > { > > { > > } > > >
|
|
Group: DynoMotion |
Message: 4149 |
From: fireup_kev |
Date: 2/29/2012 |
Subject: Re: v429z Problem |
It's just my preference but I like to have all the dll's needed for my application in the same directory or sub-directory. Also I like to make one simple setup file that the user don't have to install KMotion4xx.exe.
--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> Kevin,
>
>
>
>
>
> It was recommended to leave the MainPathRoot out of the API and let cKMotionDLL.cpp define that.
>
>
>
> The underlying libraries expect a very specific folder structure. Even if you copied the files in the KMotion\Release things will likely become unstable.
>
>
>
> I have found it is reliable to leave the KMotion4.xx folder alone and just load the KMotion_dotNet.dll at runtime.
>
>
>
> I use the following code in MM. It loads a dll that provides interfaces of some basic machine objects. You can simplify it to only load the KMotion_dotNet.dll
>
>
>
> private void LoadMachineAssembly()
>
> {
>
> var machinedll = _AssemblyPath;
>
> if (File.Exists(machinedll))
>
> {
>
> var type = typeof(IMachineProvider);
>
> Assembly a = Assembly.LoadFrom(machinedll);
>
> var machineprovider = a.GetTypes().Where(p => type.IsAssignableFrom(p)).FirstOrDefault();
>
> if (machineprovider != null)
>
> {
>
> var instance = Activator.CreateInstance(machineprovider);
>
> _Provider = instance as IMachineProvider;
>
> }
>
> else
>
> {
>
> throw new Exception("No valid Machine Providers found; Library must contain at least one class that implements IMachineProvider.");
>
> }
>
> }
>
> else
>
> {
>
> throw new FileNotFoundException("Invalid Machine Provider File");
>
> }
>
> }
>
>
>
> The IMachineProvider interface can be as simple as you like and call it anything you want. Implement this interface with a class that houses an instance of KM_Controller.
>
>
>
> As I said, you could also just load KMotion_dotNet.dll with the above code. Your app already has a reference to the dll, just set itâs Copy Local to false and load the DLL like above.
>
>
>
> -Brad Murry
>
>
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of fireup_kev
> Sent: Wednesday, February 29, 2012 9:52 PM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: v429z Problem
>
>
>
>
>
> I found another problem....
>
> When I move my application out to it's own directory, it gives me an unable to open file "\GCode Programs\emc.var" error. Last version I specified CoordMotion.Interpreter.MainPathRoot but 4.29z no longer has this value and CoordMotion.Interpreter.SetupFile does not seem to be the same thing.
>
> Thanks,
> Kevin
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> >
> > Hi Kevin,
> > Ã
> > Yes those should be the only changes.
> > Ã
> > TK
> >
> >
> > ________________________________
> > From: fireup_kev <kliboon@>
> > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > Sent: Tuesday, February 28, 2012 7:33 AM
> > Subject: [DynoMotion] Re: v429z Problem
> >
> >
> > Ã
> > Thanks Tom
> >
> > So this, and
> >
> > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
> >
> > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
> >
> > are the changes I need to make to the source to take care of the current bugs reported so far?
> >
> > Kevin
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > >
> > > Hi Kevin,
> > > ÃâÃ
> > > Yes it looks like (KMotion_dotNet\KM_MainStatus.cs)
> > > Ãâà {
> > > Ãâà Ãâà Ãâà {
> > > Ãâà Ãâà Ãâà }publicintGetKFlopBitDirection(intindex)Ãâà Ãâà Ãâà if(index > 31)Ãâà Ãâà Ãâà Ãâà Ãâà Ãâà Ãâà returnGetValue(_BitsDirection[1], index - 31, 1);Ãâà Ãâà Ãâà elseÃâà Ãâà Ãâà {
> > > Ãâà Ãâà Ãâà }
> > > }Ãâà Ãâà Ãâà Ãâà Ãâà Ãâà Ãâà returnGetValue(_BitsDirection[0], index, 1);
> > > ÃâÃ
> > > should be:
> > > Ãâà publicintGetKFlopBitDirection(intindex)if(index > 31)returnGetValue(_BitsDirection[1], index - 32, 1);else{
> > > }
> > > }returnGetValue(_BitsDirection[0], index, 1);
> > > ÃâÃ
> > > Thanks
> > > TK
> > >
> > > From: fireup_kev <kliboon@>
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Sent: Monday, February 27, 2012 2:18 PM
> > > Subject: [DynoMotion] Re: v429z Problem
> > >
> > >
> > > ÃâÃ
> > > For me, MainStatus still as a bug in the upper bits.
> > >
> > > GetKFlopBitDiection does not return the correct values for bit 32 to 64
> > >
> > > Kevin
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > > >
> > > > MainStatus works well.
> > > >
> > > >
> > > >
> > > > I have not tried the Connected() method with the new patches.
> > > >
> > > >
> > > >
> > > > -Brad
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of himykabibble
> > > > Sent: Monday, February 27, 2012 11:59 AM
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Subject: [DynoMotion] Re: v429z Problem
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Tom,
> > > >
> > > > Whatever that weirdness was yesterday, it did not repeat today, so I think we're OK.
> > > >
> > > > Any word on when we'll have a dotNet release where Connected works properly?
> > > >
> > > > Also, is MainStatus now working correctly in dotNet?
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > >
> > > > > Tom,
> > > > >
> > > > > Today I ran a batch of the same parts that failed a few days ago, and that problem seems to be fixed. I was able to run one batch of parts that came out perfect.
> > > > >
> > > > > However, while setting up, I did have a different problem that seems might be related - When I first started up my app, and started doing the setup, I found the interpreter was hanging if I did any MDI command that involved axis motion. I have on-screen indicators that show whether the interpreter is running or not, and it would stay on after any MDI that required axis motion, and the motion would not occur. Any non-move commands, like M3, M7, G54, etc. worked fine. I tried KMotionCNC and got the same behavior. I went back to my app, loaded my program, and started it, and it executed to the first move, then hung. I stopped it, did a rewind, and this time single-stepped through the first few moves, and all seemed fine. So I started it running from the start, and the problem did not re-occur. I'll see if it repeats tomorrow.
> > > > >
> > > > > Regards,
> > > > > Ray L.
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Hi Ray
> > > > > > ÃÆ'Ã'âââ¬Ã
¡
> > > > > > Here areÃÆ'Ã'âââ¬Ã
¡ the sources changed from V4.29z:
> > > > > > ÃÆ'Ã'âââ¬Ã
¡
> > > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/CoordMotion.cpp
> > > > > > ÃÆ'Ã'âââ¬Ã
¡
> > > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/TrajectoryPlanner.cpp
> > > > > > ÃÆ'Ã'âââ¬Ã
¡
> > > > > > Regards
> > > > > > TK
> > > > > >
> > > > > > From: himykabibble <jagboy@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Saturday, February 25, 2012 2:35 PM
> > > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > > >
> > > > > >
> > > > > > ÃÆ'Ã'âââ¬Ã
¡
> > > > > > Tom,
> > > > > >
> > > > > > I was only able to run a quick test, but it appears to be working correctly now. I'll try to run some real parts tomorrow, once I get my machine back together (finally installing limit switches on X, Y and A axes).
> > > > > >
> > > > > > Can I get the modified source, as I need to make my tool length comp mods before I can run any of my existing G-code.
> > > > > >
> > > > > > Regards,
> > > > > > Ray L.
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > >
> > > > > > > Ray,
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > Please try this patch to fix GCode Arcs for V4.29z.ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ Copy to the C:\Kmotion429z\Kmotion\Release directory
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > http://dynomotion.com/Software/Patch/FixTP429Arcs/GCodeInterpreter.dll
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > Regards
> > > > > > > TK
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > >
> > > > > > > From: himykabibble <jagboy@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Thursday, February 23, 2012 2:25 PM
> > > > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > > > >
> > > > > > >
> > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > Tom,
> > > > > > >
> > > > > > > Well, how many people really NEED to do arcs anyway.... :-)
> > > > > > >
> > > > > > > Regards,
> > > > > > > Ray L.
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > >
> > > > > > > > Hi Ray,
> > > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'â⬠'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > > I think I see what is going on.ÃÆ'Ã'Ãâ 'ÃÆ'â⬠'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ I re-plotted your data and uploaded the Excel Sheet.ÃÆ'Ã'Ãâ 'ÃÆ'â⬠'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ ÃÆ'Ã'Ãâ 'ÃÆ'â⬠'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ Looks like there is a problem with Arcs getting out of order with Line segments due to the Grouping into blocks of segments that we did in V4.29 to improve USB traffic.ÃÆ'Ã'Ãâ 'ÃÆ'â⬠'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ Everything works fine for Albert (and me) because we weren't doing any Arcs.ÃÆ'Ã'Ãâ 'ÃÆ'â⬠'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡ Give me some time to come up with a fix.
> > > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'â⬠'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > > Looks like it wasn't noise :}
> > > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'â⬠'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > > Regards
> > > > > > > > TK
> > > > > > > >
> > > > > > > > From: himykabibble <jagboy@>
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Sent: Thursday, February 23, 2012 12:05 PM
> > > > > > > > Subject: [DynoMotion] Re: v429z Problem
> > > > > > > >
> > > > > > > >
> > > > > > > > ÃÆ'Ã'Ãâ 'ÃÆ'â⬠'ÃÆ'Ã'ÃââÃÆ'ââââ¬Ã
¡ÃâìÃÆ'ââ¬Â¦ÃâáÃÆ'Ã'Ãâ 'ÃÆ'ââââ¬Å¡Ã¬Ãâ¦Ã¡ÃÆ'Ã'âââ¬Ã
¡
> > > > > > > > BTW - I can duplicate this with two different KFlops, and two different PCs....
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > > >
> > > > > > > > > OK, three spreadsheets uploaded to RayLs Files. The v428 trace looks the same, regardless of parameter setting. The v429 trace gets goofier the lower acceleration is set. Two captures, for accel = 30.0, and accel = 0.10 are given. All captures were recording Dest on every 50th pass of my Init program. First column is time, second thru fourth are X, Y, Z position.
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Ray L.
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > > > >
> > > > > > > > > > Tom,
> > > > > > > > > >
> > > > > > > > > > I'm posting some captures of ch[0-2].Dest for versions v428 and v429z. My machine was not even turned on for this. The problem is quite evident.
> > > > > > > > > >
> > > > > > > > > > Regards,
> > > > > > > > > > Ray L.
> > > > > > > > > >
> > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > > > > > > > > > >
> > > > > > > > > > > Tom,
> > > > > > > > > > >
> > > > > > > > > > > At this point, there is not a doubt in my mind that v429z is broken. I have run dozens of tests, and v428 always works, v429z always fails. With v429z, the lower I set acceleration, or feedrate, in KMotionCNC, the worse it performs. With accel set to 25 in/sec^2, I get small, but absolutely consistent, position errors, and NO servo faults. With accel set to 0.1 in/sec^2, I get nearly constant servo faults, with attendant massive position loss. The exact same g-code will work perfectly time after time with v428, with acceleration set as low or as high as I choose, and with feed rates cranked up to near rapid speeds. Even worse, it will sometimes move the Z axis, and there is not a single Z-axis command anywhere in the G-code! On the crooked, non-straight segments, I can put my fingers on the ballscrews, and I can feel clear, smooth motion on the axis that is supposed to be stationary. No chance this is noise - these are deliberate,
> > > constant speed
> > > > > > > > moves, always in exactly the same place, and they ARE reflected in the DROs.
> > > > > > > > > > >
> > > > > > > > > > > I've posted the G-code I'm using in RayLs Files.
> > > > > > > > > > >
> > > > > > > > > > > Regards,
> > > > > > > > > > > Ray L.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > > {
> > > {
> > > }
> > >
> >
>
|
|
| | | | | | | | | | | | | |